]> dgit.raspbian.org Git - firefox-esr.git/commitdiff
Disable jit.
authorPeter Michael Green <plugwash@raspbian.org>
Thu, 28 Aug 2025 19:08:36 +0000 (19:08 +0000)
committerRaspbian forward porter <root@raspbian.org>
Thu, 28 Aug 2025 19:08:36 +0000 (19:08 +0000)
Gbp-Pq: Name disable-jit.patch

js/moz.configure
js/src/jit/shared/AtomicOperations-shared-jit.cpp

index 593b93aceee7dfdf9bec976f20a718fee9d65c98..16f97c78b24e6c67ed9dd7ad990986cc88c67c2f 100644 (file)
@@ -251,22 +251,22 @@ def jit_default(
     enable_portable_baseline_interp,
     enable_explicit_resource_management,
 ):
-    if enable_record_tuple:
-        return False
-    if enable_portable_baseline_interp:
-        return False
-    if enable_explicit_resource_management:
-        return False
-    if target.cpu in (
-        "x86",
-        "x86_64",
-        "arm",
-        "aarch64",
-        "mips32",
-        "mips64",
-        "loongarch64",
-    ):
-        return True
+    #if enable_record_tuple:
+    #    return False
+    #if enable_portable_baseline_interp:
+    #    return False
+    #if enable_explicit_resource_management:
+    #    return False
+    #if target.cpu in (
+    #    "x86",
+    #    "x86_64",
+    #    "arm",
+    #    "aarch64",
+    #    "mips32",
+    #    "mips64",
+    #    "loongarch64",
+    #):
+    #    return True
     return False
 
 
index df7c049dfac333b5b5a7ea288bdcc25368ac81e4..720e7dd9e09b4c8709ddc4c77600098a1afb1381 100644 (file)
@@ -55,7 +55,8 @@ static bool UnalignedAccessesAreOK() {
 #  if defined(__x86_64__) || defined(__i386__)
   return true;
 #  elif defined(__arm__)
-  return !HasAlignmentFault();
+  //return !HasAlignmentFault();
+  return false;
 #  elif defined(__aarch64__)
   // This is not necessarily true but it's the best guess right now.
   return true;